cacheAuthentication

fun cacheAuthentication(authKey: String, authObj: String?)

Store an authentication object to be used later. If the given authObj is null, then it unsets the authentication.